<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "{{%settings}}".
 *
 * @property int $setId 设置编号
 * @property string $setName 设置名称
 * @property string $setTag 设置标识
 * @property string $setValue 设置内容
 * @property string $description 设置说明
 * @property int $ctime 创建时间
 */
class Settings extends \common\models\Settings{
    public function rules(){
        return [
            [['setValue', 'description'], 'string'],
            [['ctime'], 'integer'],
            [['setName'], 'required'],
            [['setTag'], 'required'],
            [['setValue'], 'required'],
            [['setName'], 'string', 'max' => 200],
            [['setTag'], 'string', 'max' => 100],
        ];
    }
}
